package realm.inorder.itmill.controller;

import org.apache.log4j.Logger;
import org.openinsula.vulcano.orm.command.transaction.DaoCommandTransactionFacade;
import org.springframework.beans.factory.annotation.Autowired;

import realm.inorder.itmill.session.SessionContext;
import realm.inorder.persistence.model.Usuario;

public class DefaultController {

	protected final Logger logger = Logger.getLogger(getClass());
	
	@Autowired
	protected DaoCommandTransactionFacade daoCommandTransactionFacade;
	
	public Usuario getCurrentUsuario() {
		return SessionContext.get(Usuario.class);
	}
}
